home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / C++ Files Library / MRDiim, 3D World Shell / MRDiim.sit / MRDiim / MRDiim.h < prev    next >
Text File  |  1994-12-19  |  823b  |  27 lines

  1. // use to walk through walls, GudMode
  2. const    Boolean GudMode = false;
  3. // rotation amount in radians
  4. const    float    RotateAmount = .3;
  5.  
  6. class MRDoom: public MREyeBall
  7. {
  8.     short            slide;
  9.     float            facing;  // in rads
  10.     Boolean            halfCircle; // which side of the half circle;
  11.     ChartPost        myself; //  where I am standing
  12.     ChartPost        posts[10];  // dummy list of posts
  13.     MRConstruction    *myConstruction;
  14.     Boolean            DirtyWindow;  //] check if window needs to be updated
  15. public:
  16.         MRDoom(short Number=0,Boolean toMark=false);
  17. virtual    ~MRDoom(void);
  18.     // override
  19. virtual    void        *NewRachet(short Number,Boolean toMark);
  20. virtual    void        ZapRachet(Ptr toBeZapped);
  21. virtual void        DoGWorldContent(void);
  22.  
  23. virtual void        DoIdleWindow(void);
  24. virtual void        ClearWindowContent(WindowPtr window);
  25. virtual    void        DoKeyDown(EventRecord event,char key);
  26. } ;
  27.